package com.zhidian.edm.service;

import com.zhidian.edm.entity.SysUserPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhidian.edm.param.AddUserParam;
import com.zhidian.edm.param.UpdateUserParam;
import com.zhidian.edm.vo.SysUserVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Optional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sl
 * @since 2025-09-18
 */
public interface ISysUserService extends IService<SysUserPO> {

    Optional<SysUserPO> findByUsername(String  username);


    List<SysUserVO> getUserList();

    void addUser(AddUserParam addUserParam);

    void updateUser(UpdateUserParam updateUserParam);

    SysUserVO getUserById(Long userId);
}
